export const ODEE_GET_TABLE_DATA = 'ODEE_GET_TABLE_DATA';
export const ODEE_SET_TABLE_DATA = 'ODEE_SET_TABLE_DATA';
export const ODEE_CHANGE_TABLE_LOADING = 'ODEE_CHANGE_TABLE_LOADING';
export const ODEE_CHANGE_SEARCH_PARAMS = 'ODEE_CHANGE_SEARCH_PARAMS';
export const ODEE_GET_PERSON = 'ODEE_GET_PERSON';
export const ODEE_SET_PERSON = 'ODEE_SET_PERSON';
export const ODEE_CHANGE_MODAL_VISIBLE = 'ODEE_CHANGE_MODAL_VISIBLE';
export const ODEE_DISTRIBUTE_ORDER = 'ODEE_DISTRIBUTE_ORDER';
export const ODEE_CHANGE_SELECT_KEY = 'ODEE_CHANGE_SELECT_KEY';
export const ODEE_CHANGE_PERSON_TYPE = 'ODEE_CHANGE_PERSON_TYPE';

export const odeeGetTableData = (params) => ({ type: ODEE_GET_TABLE_DATA, params });
export const odeeSetTableData = (data) => ({ type: ODEE_SET_TABLE_DATA, data });
export const odeeChangeTableLoading = (option) => ({ type: ODEE_CHANGE_TABLE_LOADING, option });
export const odeeChangeSearchParams = (params) => ({ type: ODEE_CHANGE_SEARCH_PARAMS, params });
export const odeeGetPerson = (params, callback) => ({ type: ODEE_GET_PERSON, params, callback });
export const odeeSetPerson = (data) => ({ type: ODEE_SET_PERSON, data });
export const odeeChangeModalVisible = (option) => ({ type: ODEE_CHANGE_MODAL_VISIBLE, option });
export const odeeDistributeOrder = (params, callBack) => ({ type: ODEE_DISTRIBUTE_ORDER, params, callBack });
export const odeeChangeSelectKey = (data) => ({ type: ODEE_CHANGE_SELECT_KEY, data });
export const odeeChangePersonType = (option) => ({ type: ODEE_CHANGE_PERSON_TYPE, option })